<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<title></title>
		<script src="http://g.tbcdn.cn/mtb/lib-flexible/0.3.2/??flexible_css.js,flexible.js"></script>
		<link rel="stylesheet" type="text/css" href="css/wdyh.css"/>
		<link rel="stylesheet" type="text/css" href="css/public.css"/>
	</head>
	<body>
		<header>
			<div class="d1">
				<div class="fh">
					
				</div>
			</div>
			<div class="d2">
				优惠卷列表
			</div>
			<div class="d3">
				<img src="nimg/n1.png" >
			</div>
		</header>
		<div style="height: 1.3rem;">
			
		</div>
		<div style="background: #FFF;">
			<div class="zbnr">
				<span class="wlys" id="q2">未使用</span>
				<span id="q3">已使用/已过期</span>
			</div>
		</div>
		<div id="y1" style="background: #FFF;">
			<div style="height: 2.3rem;">
				
			</div>
			<img style="width: 10rem;" src="yhjimg/yhj1.png" >
		</div>
		<div id="y2" style="background: #FFF;">
			<div style="height: 2.3rem;">
				
			</div>
			<img style="width: 10rem;" src="yhjimg/yhj2.png" >
		</div>
		<script type="text/javascript">
			var q2=document.querySelector("#q2");
			var q3=document.querySelector("#q3");
			var y1=document.querySelector("#y1");
			var y2=document.querySelector("#y2");
			q2.onclick=function(){
				q2.className=" wlys";
				q3.className="";
				y1.style.display="block";
				y2.style.display="none";
			}
			q3.onclick=function(){
				q3.className=" wlys";
				q2.className="";
				y2.style.display="block";
				y1.style.display="none";
			}
			var fh=document.querySelector(".fh");
			fh.onclick=function(){
				javascript:history.back();
			}
		</script>
	</body>
</html>
